package main.java.LeetCode.ClassicalAlgorithm.Queue;

import java.util.concurrent.TimeUnit;

public interface Queue<E> {
    E get() throws InterruptedException;
    boolean set(E e) throws InterruptedException;

    E get(long timeout, TimeUnit unit) throws InterruptedException;

    boolean offer(E e);

    int size();
}
